Vin File Export
Introduction
This document provides details on the VIN file export process applicable to below manufacturers FNP provider.
Applicable Manufacturers
- KIA
File Format and Naming Convention
- Format: Headerless CSV. The current generator uploads the CSV directly; it does not ZIP it.
- File Naming Convention:
vin_list_for_{fnpProviderName}-{ddMMyyyy}.csv
Download Sample Exported VIN File.
Prerequisites
For the current provider coverage, export filters and distinction between exporting VINs and loading prices onto an enquiry, see FNP providers and data.
Ensure the following conditions are met before initiating the export:
- The lease company must be integrated with
fnpProviderand have the integration enabled. - The vehicle must be registered under the manufacturer.
- The
receivedMenuPriceTypesense field must befalseorundefined, indicating no menu price has been previously imported for this VIN.
File Structure and Fields
The exported file follows a structured format with the fields below:
| Field Position | Field Name | Description | Example |
|---|---|---|---|
| A | VIN | Vehicle Identification Number | 0TW5K9A1TEV1DD085 |
Setup Requirements
The following configurations are required:
- Job Name:
generateVINListForFnp[Manufacturer Name]
(Example:generateVINListForFnpKia) - Region:
europe-west2 - Frequency:
30 23 * * * - Time Zone:
GMT London - Topic:
projects/[env]/topics/generateVINListForFnpProvider
Message Body Format
The request must be a JSON object containing these parameters:
| Parameter | Description | Example |
|---|---|---|
| sourceFolderName | Defines the folder where the exported file is stored. | fnp-exports |
| fnpProviderName | Specifies the manufacturer associated with the VIN list. | KIA |
Debugging Steps
If issues arise, follow these debugging steps:
- Verify that the stock has been successfully imported.
- Ensure the stock's manufacturer matches the
fnpProvidermanufacturer. - Confirm that the lease company is integrated with
fnpProviderand has the necessary integration enabled. - Check that
receivedMenuPriceis set tofalsein Typesense. Iftrue, verify whether a menu price was previously imported.
Export Process
Using Cloud Scheduler
- Navigate to Cloud Scheduler.
- Execute the
generateVINListForFnp[Manufacturer Name]job.
(Example:generateVINListForFnpKia.) - Once the export is complete, the file is stored in the cloud bucket.
- Another Cloud Scheduler job is triggered to upload the exported file via SFTP.
Testing Guidelines
- The exported file must include all VINs that meet the prerequisites.
- The file must not contain a header.
Status: Accepted
Category: Protected
Authored By: Jeyakumar Arunagiri on Feb 13, 2025
Revisions